package com.patterns.java.decorator;

/**
 * 滚动条
 * @author 三多
 * @Time 2021/10/12
 */
public class ScrollBarViewDecorator extends ViewDecorator {

    public ScrollBarViewDecorator(View viewDecorator) {
        super(viewDecorator);
    }

    @Override
    public void show() {
        viewDecorator.show();
        System.out.println("Scroll Bar view");
    }
}
